From: Adel Gadllah Date: Fri, 22 Feb 2013 18:58:38 +0000 (+0100) Subject: xdnd: Only pick reactive actors X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4649 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b37afcdba128ad7ecadb03d5817ad6e2a2a2e18c;p=gnome-shell.git xdnd: Only pick reactive actors This is the only sane way to get select windows in the overview, as workspace._dropRect blocks our view otherwise. --- diff --git a/js/ui/xdndHandler.js b/js/ui/xdndHandler.js index a662b44d4..e9f361269 100644 --- a/js/ui/xdndHandler.js +++ b/js/ui/xdndHandler.js @@ -82,7 +82,7 @@ const XdndHandler = new Lang.Class({ }, _onPositionChanged: function(obj, x, y) { - let pickedActor = global.stage.get_actor_at_pos(Clutter.PickMode.ALL, x, y); + let pickedActor = global.stage.get_actor_at_pos(Clutter.PickMode.REACTIVE, x, y); // Make sure that the cursor window is on top if (this._cursorWindowClone)